mtd: cfi_flash: fix clang warning
authorJeroen Hofstee <[email protected]>
Tue, 17 Jun 2014 20:47:31 +0000 (22:47 +0200)
committerTom Rini <[email protected]>
Fri, 18 Jul 2014 21:53:22 +0000 (17:53 -0400)
commitc15df21fe79d420344a3ecb1bb60b8f97c6dec2e
treeb4b123726d6bf63c3dc7920f26938e7256bcd9f3
parent524123a70761110c5cf3ccc5f52f6d4da071b959
mtd: cfi_flash: fix clang warning

clang warns this check is silly; it is since s is
a local variable.

u-boot/drivers/mtd/cfi_flash.c:2363:13: warning: comparison of
  array 's' not equal to a null pointer is always true
  else if ((s != NULL) && (strcmp(s, "yes") == 0)) {

cc: Stefan Roese <[email protected]>
Signed-off-by: Jeroen Hofstee <[email protected]>
drivers/mtd/cfi_flash.c